package com.ys.zero.bean;

import java.util.Date;

public class Whisper implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private Integer wid;//id
	private String sender;//发信人
	private Integer toid;//被私信人
	private String chatContent;//聊天内容
	private Date chatTime;//发送时间
	private Integer state;//用户接受消息状态
	public Integer getWid() {
		return wid;
	}
	public void setWid(Integer wid) {
		this.wid = wid;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}
	public Integer getToid() {
		return toid;
	}
	public void setToid(Integer toid) {
		this.toid = toid;
	}
	public String getChatContent() {
		return chatContent;
	}
	public void setChatContent(String chatContent) {
		this.chatContent = chatContent;
	}
	public Date getChatTime() {
		return chatTime;
	}
	public void setChatTime(Date chatTime) {
		this.chatTime = chatTime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	@Override
	public String toString() {
		return "Whisper [wid=" + wid + ", sender=" + sender + ", toid=" + toid + ", chatContent=" + chatContent
				+ ", chatTime=" + chatTime + ", state=" + state + "]";
	}
}
